package com.car.common.execption;

/**
 * @ClassName: BussiException 
 * @Description: 自定义业务异常类
 * @author: TiTanLee
 * @date: 2019年11月29日 下午11:56:38
 */
public class BussiException extends RuntimeException {

	private static final long serialVersionUID = 3460573685203439966L;
	
	/**
	 * 	异常编码
	 */
	private Integer code;
	/**
	 * 	异常信息
	 */
	private String msg;

	public BussiException() {};
	public BussiException(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}

}
